import java.util.ArrayList;
import java.util.Arrays;
import java.util.Arrays;
class Solution {
    public static void rotate(int[] nums, int k) {
        int[] ret = new int[nums.length];
        System.arraycopy(nums,nums.length -k,ret,0,k);
        System.arraycopy(nums,0,ret,k,nums.length - k);
        for(int i = 0;i < nums.length;i++){
            nums[i] = ret[i];
        }
    }
}
public class Test_9_10 extends Solution {
            public static void main1(String[] args) {
                int[] arr = new int[]{1,2,3,4,5,6,7};
                rotate(arr,3);
            }

    public static void main(String[] args) {
        String a = new String("abc");
        String b = new String("abc");
        System.out.println(a.equals(b));
        ArrayList<Integer> list = new ArrayList<>();
    }
        }
